<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "order_backup".
 *
 * @property string $id
 * @property string $type
 * @property string $cont
 * @property integer $create_time
 */
class OrderBackup extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'order_backup';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['id'], 'required'],
            [['cont'], 'string'],
            [['create_time'], 'integer'],
            [['id'], 'string', 'max' => 36],
            [['type'], 'string', 'max' => 10],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'type' => 'Type',
            'cont' => 'Cont',
            'create_time' => 'Create Time',
        ];
    }
}
